@import './reset.scss';
@import './var.scss';
@import './base.scss';

:root {
    color-scheme: light dark;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body,
html {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

.app {
    min-height: 100vh;
}

.loading {
    width: 100%;
    height: 100vh;
}

.link {
    color: inherit;
}

.ant-select-dropdown {
    z-index: 2002;
}

/* 系统暗色主题 */
@media(prefers-color-scheme: dark) {
    :root {
        --m-bg-color: #345455;
        --m-text-color: #f6f6f6;
        --m-theme-color: #f36;
    }

    html {
        background: var(--m-bg-color);
        color: var(--m-text-color);
    }
}

/* 获取系统默认颜色 */
@media (prefers-color-scheme: light) {
    /* 浅色模式下的样式 */
}